package com.lglbc.langchain4jdemo;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(wiringMode = EXPLICIT, chatModel = "qwenChatModel")
public interface AssistantWithParams{

    @SystemMessage("你是 {{user}}")
    String ask(@UserMessage String question, @V("user") String user);
}